<template>
  <h2>我是Child2</h2>

  <button @click="increase">increase</button>
</template>

<script setup>
import emitter from '@/services/emitter'

let increase = function () {
  emitter.emit('increase', 2)
}
</script>
